package cn.lds.j375.healthexam.service;

import cn.lds.j375.healthexam.condition.AppointmentRecordCondition;
import cn.lds.j375.healthexam.entity.AppointmentRecord;
import cn.lds.j375.healthexam.dto.ResultDTO;
import cn.lds.j375.healthexam.entity.ExamRecord;
import cn.lds.j375.healthexam.exception.SysException;

import java.util.List;

public interface AppointmentRecordService {

    ResultDTO<List<AppointmentRecord>> selectAppointMentRecordAll(AppointmentRecordCondition condition) throws SysException;
    ResultDTO<AppointmentRecord> selectAppointMentRecordById(Integer id) throws SysException;

    ResultDTO addAppointmentRecord(AppointmentRecord appointmentRecord) throws SysException;
    ResultDTO comfirmAppointmentRecord(Long appointMentId);
    ResultDTO cancelAppointmentRecord(AppointmentRecord appointmentRecord);
    ResultDTO removeAppointmentRecord(Integer id);

}
